package com.isunland.managesystem.ui;

import android.support.v4.app.Fragment;
import com.isunland.managesystem.entity.ProjectLedger;
import com.isunland.managesystem.entity.StageDefinePropertyOriginal;

/**
 * 对象功能:
 * 开发公司: 北京信普达系统工程有限公司
 * 开发人员: HuXiaoDan
 * 创建时间: 2017/5/15 14:32
 */
public class ProjectLedgerPropertyDetailActivity extends SingleFragmentActivity {
  private StageDefinePropertyOriginal.StageDefinePropertyContent content;
  private ProjectLedger projectContent;

  @Override protected Fragment createFragment() {
    content =
        (StageDefinePropertyOriginal.StageDefinePropertyContent) getIntent().getSerializableExtra(
            ProjectLedgerPropertyDetailFragment.EXTRA_CONTENT);
    projectContent = (ProjectLedger) getIntent().getSerializableExtra(
        ProjectLedgerPropertyDetailFragment.EXTRA_VALUE);
    return ProjectLedgerPropertyDetailFragment.newInstence(content, projectContent);
  }
}